import { CmdCode } from '../../code/index';
import { CmdSignModel } from '../../models/index';
import { AHttpCmd } from '../base.cmd';
import Taro from '@tarojs/taro';

export class BiRedisGetCmd extends AHttpCmd {
    constructor(private model?: any, private reqCode?: string) {
        super();
    }

    req(): CmdSignModel {
        let sign: CmdSignModel = super.buildCmdSign(this.model, this.reqCode);
        return sign;
    }

    resp(data: any): void {
    }

    error(model: CmdSignModel): void {
    }

    getCmdCode(): string {
        return CmdCode.BI_REDIS_GET;
    }
}
